 <script>

  $(document).ready(function() {
       $("#datepicker").datepicker();
	  

	 $('#datepicker').datepicker('option', {dateFormat:'yy-mm-dd'});
	 $("#datepicker1").datepicker();
	  

	 $('#datepicker1').datepicker('option', {dateFormat:'yy-mm-dd'});
	 


  });
  </script>
<form action="/admin/rates/add/hotel_id/<?php  echo $this->hotel_id;?>" method="post" enctype="multipart/form-data" name="frmAdUser">
	<table border="0" width="100%">
		<tbody>
			<tr>
				<td style="padding-top: 6px;" valign="top" width="60%">
					<table class="form_listing" cellpadding="0" cellspacing="0" width="100%">
						<tbody>
							<tr id="tr_0" class="odd">
								<th valign="top">RateCategory Name</th>
								<td><input name="rate_category" value=""  class=""  type="text" /></td>
							</tr>
							<tr id="tr_0" class="odd">
								<th valign="top">Basis</th>
								<td><input name="rate_basis" value=""  class=""  type="text" /></td>
							</tr>
							<tr id="tr_0" class="odd">
								<th valign="top">Rate Single</th>
								<td><input name="rate_single" value=""  class=""  type="text" /></td>
							</tr>
							<tr id="tr_0" class="odd">
								<th valign="top">Rate double</th>
								<td><input name="rate_double" value=""  class=""  type="text" /></td>
							</tr>
							<tr id="tr_0" class="odd">
								<th valign="top">Rate triple</th>
								<td><input name="rate_triple" value=""  class=""  type="text" /></td>
							</tr>
							<tr id="tr_0" class="odd">
								<th valign="top">Rate from date</th>
								<td><input name="rate_fromdate" value="" class="input-calendar"  id="datepicker"/></td>
							</tr>
							<tr id="tr_0" class="odd">
								<th valign="top">Rate to date</th>
								<td><input name="rate_todate" value="" class="input-calendar"  id="datepicker1"  type="text" /></td>
							</tr>
							<tr id="tr_0" class="odd">
								<th valign="top">Rate Additinal Info</th>
								<td><textarea name="rate_additionalinfo"></textarea></td>
							</tr>
						
							<tr id="tr_0" class="odd">
								
								<td><input name="hotel_id" value="<?php echo $this->hotel_id;?>"  class=""  type="hidden" /></td>
							</tr>
							<div id="testdiv1" style="position:absolute; visibility: hidden; background-color: white; left: 119px; top: 47px;"></div></td>
						
							
						</tbody>
					</table>            
				</td>

                <td><input type="submit" value="save" name="submit"></td>
            </tr>
        </tbody>
	</table>        
</form>
	